//样式重置
import "normalize.css"
//组件库自带的全局样式
import "element-plus/dist/index.css"

// 自己定义的全局样式
import "./assets/main.css"

// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from "@element-plus/icons-vue"

import { createApp } from "vue"
import App from "./App.vue"
import router from "./router"

const app = createApp(App)

// 全局注册图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(router)

app.mount("#app")
